package com.lovo.exception;

import com.lovo.enums.ClassCodeEnum;

/**
 * @title
 * @author: luo
 * @date: 2020/11/22 13:41
 */
public class ClassException extends RuntimeException{

    private ClassCodeEnum classCodeEnum;

    public ClassException(ClassCodeEnum classCodeEnum) {
        super(classCodeEnum.getMsg());
        this.classCodeEnum = classCodeEnum;
    }
}
